//
//  ICMProxyBasicInfoView.h
//  ICrEAM
//
//  Created by kuroro on 16/11/22.
//  Copyright © 2016年 mac. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ICMTitleTextFeildView.h"
#import "ICMTitleTextView.h"
#import "ICMProxyBasicInfoModel.h"
@class ICMProxyBasicInfoModel;

@protocol ICMProxyBasicInfoViewDelegate <NSObject>

@optional

- (void)clickMonitorBtn;

- (void)clickCarInfoBtn;

- (void)clickCarOwnerBtn;

- (void)clickMemberBtn;

@end

@interface ICMProxyBasicInfoView : UIView

@property (nonatomic, weak) id<ICMProxyBasicInfoViewDelegate> delegate;//代理

+ (instancetype)createICMProxyBasicInfoViewWithFrame:(CGRect)frame;

@property (nonatomic, strong)ICMTitleTextFeildView *vinNumberView;//vin码

@property (nonatomic, strong)ICMTitleTextFeildView *plateNumberView;//车牌号

@property (nonatomic, strong)ICMTitleTextFeildView *ownerNameView;//车主姓名

@property (nonatomic, strong)ICMTitleTextFeildView *invoiceDateView;//购车日期

@property (nonatomic, strong)ICMTitleTextFeildView *currentMileageView;//当前里程

@property (nonatomic, strong)ICMTitleTextFeildView *ownerPhoneNumberView;//车主手机

@property (nonatomic, strong)ICMTitleTextFeildView *ownerTypeView;//车主性质

@property (nonatomic, strong)ICMTitleTextFeildView *carTypeView;//车型

@property (nonatomic, strong)ICMTitleTextFeildView *customerNameView;//送修人姓名

@property (nonatomic, strong)ICMTitleTextFeildView *customerPhoneNumberView;//送修人手机

@property (nonatomic, strong)ICMTitleTextFeildView *useKindView;//使用性质

@property (nonatomic, strong)ICMTitleTextFeildView *traceTagView;//三包凭证标示

@property (nonatomic, strong)ICMTitleTextFeildView *VWCardView;//大众一家

@property (nonatomic, strong)ICMTitleTextFeildView *cardIdView;//实物卡号

@property (nonatomic, strong)ICMTitleTextFeildView *lastDateView;//上次进厂日期

@property (nonatomic, strong)ICMTitleTextFeildView *FBUView;//进口车标识

@property (nonatomic, strong)ICMTitleTextFeildView *memberView;//经销商会员

@property (nonatomic, strong)ICMTitleTextFeildView *totalPointView;//会员积分

@property(nonatomic,strong)ICMTitleTextFeildView *stepInTimeView;//下次保养日期
@property(nonatomic,strong)ICMTitleTextFeildView *nextMaintainMileage;//下次保养日期

@property (nonatomic, strong)ICMProxyBasicInfoModel *basicInfomodel;

- (void)setUpWithModel:(ICMProxyBasicInfoModel *)model;

//界面值是否改变
@property (nonatomic, assign) BOOL hasViewValueChanged;

@end
